package com.jy.admin.enums;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2022/1/4
 * Time: 4:40 下午
 */
public enum OrderSyncStatusEnum {
    init(-1, "init"),
    waiting(0, "waiting"),
    data_ready(1, "data_ready"),
    data_fail(2, "data_fail"),
    push_success(3, "push_success"),
    push_fail(4, "push_fail"),
    other(5, "other"),
    need_pay_update(6, "need_pay_update"),
    pay_update_success(7, "pay_update_success"),
    pay_update_fail(8, "pay_update_fail"),
    paid_check_waiting(9, "paid_check_waiting"),
    need_remove(10, "need_remove"),
    remove_success(11, "remove_success"),
    remove_failed(12, "remove_failed")
    ;

    private Integer status;

    private String desc;

    OrderSyncStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public OrderSyncStatusEnum setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public OrderSyncStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
